home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_gimp.idb / usr / freeware / include / gck / gckcommon.h.z / gckcommon.h
Encoding:
C/C++ Source or Header  |  1999-07-21  |  1.8 KB  |  44 lines

  1. /***************************************************************************/
  2. /* GCK - The General Convenience Kit. Generally useful conveniece routines */
  3. /* for GIMP plug-in writers and users of the GDK/GTK libraries.            */
  4. /* Copyright (C) 1996 Tom Bech                                             */
  5. /*                                                                         */
  6. /* This program is free software; you can redistribute it and/or modify    */
  7. /* it under the terms of the GNU General Public License as published by    */
  8. /* the Free Software Foundation; either version 2 of the License, or       */
  9. /* (at your option) any later version.                                     */
  10. /*                                                                         */
  11. /* This program is distributed in the hope that it will be useful,         */
  12. /* but WITHOUT ANY WARRANTY; without even the implied warranty of          */
  13. /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the           */
  14. /* GNU General Public License for more details.                            */
  15. /*                                                                         */
  16. /* You should have received a copy of the GNU General Public License       */
  17. /* along with this program; if not, write to the Free Software             */
  18. /* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,   */
  19. /* USA.                                                                    */
  20. /***************************************************************************/
  21.  
  22. #ifndef __GCKCOMMON_H__
  23. #define __GCKCOMMON_H__
  24.  
  25. #ifndef FALSE
  26. #define FALSE 0
  27. #endif
  28.  
  29. #ifndef TRUE
  30. #define TRUE 1
  31. #endif
  32.  
  33. #ifndef M_PI
  34. #define M_PI 3.14159265358979323846
  35. #endif
  36.  
  37. #ifndef M_PI_2
  38. #define M_PI_2 1.57079632679489661923
  39. #endif
  40.  
  41. #define EPSILON 1.0e-5
  42.  
  43. #endif
  44.